package chabernac.android.draw;

import java.util.Comparator;

public class LayerComparator implements Comparator<AbstractDrawable> {

  @Override
  public int compare(AbstractDrawable aDrawable1, AbstractDrawable aDrawable2) {
    return aDrawable2.getLayer() - aDrawable1.getLayer();
  }

}
